//
//  Visual.swift
//  Screen
//
//  Created by Natsu on 12/30/16.
//  Copyright © 2016 alex.chih. All rights reserved.
//

import UIKit

class NaVisual: NSObject
{
    static func drawShadow(target:UIView)
    {
        target.layer.shadowColor = UIColor.black.cgColor
        target.layer.shadowOffset = CGSize(width: 2,height: 2);
        target.layer.shadowOpacity = 0.4;//阴影透明度，默认0
        target.layer.shadowRadius = 3;//阴影半径，默认3
    }
}
